home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / clients / amifsp.lha / faq.aug.1993 / text0000.txt < prev   
Encoding:
Text File  |  1994-03-15  |  18.7 KB  |  524 lines

  1. OK here comes a not so up to date FAQ... But it is seemed to be
  2. needed.
  3.  
  4. Archive-name: fsp-faq
  5. Last-modified: 19th August 1993
  6.            ^^^^^^^^^^^^^^^^^
  7. Frequently Asked Questions about FSP
  8. ------------------------------------
  9.  
  10. *** Please read this before posting to alt.comp.fsp. ***
  11.  
  12. ##########################################################################
  13. ### IMPORTANT NOTICE: EVERYONE PLEASE READ THIS!
  14. ###
  15. ### Joseph Traub is no longer the FSP maintainer, and the site he
  16. ### maintained at seismo.soar.cs.cmu.edu no longer runs an FSP daemon.
  17. ### Please do NOT mail anyone at CMU about the FSP server -- the admins
  18. ### there have complained about the volume of unwanted mail.
  19. ###
  20. ### If you have questions about FSP, please mail one of the new
  21. ### maintainers -- see below for details.
  22. ##########################################################################
  23.  
  24. This is the answers to some of the frequently asked questions about FSP.
  25. It is posted weekly to alt.comp.fsp, alt.answers and news.answers.
  26.  
  27. This article answers the following questions.
  28.  
  29. Section 1: Introduction and Help
  30.     Q1.1 What's alt.comp.fsp?  What's FSP?
  31.     Q1.2 Where can I get FSP?
  32.     Q1.3 Help!  I don't understand how to use FSP!
  33.     Q1.4 What are those funny "R" and "I" characters?
  34.     Q1.5 Why should I, as a site admin, run an FSP daemon?
  35.  
  36. Section 2: FSP software and resources
  37.     Q2.1 Where can I get an FTP-like interface for FSP?
  38.     Q2.2 Where can I get a graphical interface for FSP?
  39.     Q2.3 Where can I get hold of a list of sites?
  40.     Q2.4 Where can I get hold of hundreds of pictures of naked women
  41.          in compromising positions?
  42.  
  43. Section 3: Technical Issues
  44.     Q3.1 What are the main differences between FSP and FTP?  How
  45.          does FSP work?
  46.     Q3.2 How secure/anonymous is FSP?
  47.     Q3.3 Why not add passwords to FSP?
  48.     Q3.4 So what *does* FSP stand for?
  49.  
  50. Section 4: Who's who in FSP?
  51.     Q4.1 Who wrote FSP?
  52.     Q4.2 Who helped put this FAQ together?
  53.  
  54.  
  55. This FAQ is written and maintained by Pete Bevin (pete@sst.icl.co.uk)
  56. with help from Phil Richards (pgr@sst.icl.co.uk).
  57.  
  58. If you have any comments, suggestion, or additions, send me (Pete) some mail.
  59.  
  60.  
  61. Section 1: Introduction and Help
  62.  
  63. Q1.1: What's alt.comp.fsp?  What's fsp?
  64.  
  65.     Alt.comp.fsp is a Usenet newsgroup for discussing the FSP file
  66.     transmission protocol.    It was created on Tuesday 4th May 1993
  67.     by Wen-King Su (wen-king@cs.caltech.edu) after there was no
  68.     objection on alt.config.  Before the newsgroup, there was a
  69.     mailing list (fsp-discussion) for talking about FSP software
  70.     internals.  This newsgroup is for discussion of both writing and
  71.     using the software.
  72.  
  73.     FSP is a protocol, a bit like FTP (but see below), for moving
  74.     files around.  It's designed for anonymous archives, and has
  75.     protection against server and network overloading.  It doesn't
  76.     use connections, so it can survive things falling over.
  77.  
  78.     Quote: `FSP is what anonymous FTP *should* be'.
  79.  
  80.  
  81. Q1.2: Where can I get FSP from?
  82.  
  83.     The `official' place for FSP distributions is ftp.germany.eu.net
  84.     (192.76.144.75), in the directory /pub/network/inet/fsp.  It is
  85.     available both by FTP and FSP: the FSP server is on port 2001.
  86.     Another official site is taxus.uib.no (129.177.30.10), which
  87.     only runs an FSP server -- it's on port 9000.  The directory
  88.     on taxus is /fspdist.
  89.  
  90.     (Note: If you're using Unix, and you don't want to set up a
  91.     server, you might want to get one of the FTP-like clients
  92.     instead -- fspclient, fspcli, or fspsh -- from the same place).
  93.  
  94.     The latest versions are:
  95.  
  96.         Unix, VMS:    fsp.271.tar.Z
  97.         OS/2:        fsp2-03b.zip
  98.         MS-DOS:     pcfsp104.zip
  99.  
  100.     The Unix version is the `original', and was originally written
  101.     by Wen-King Su: Joseph Traub took over for a while, and Phil
  102.     Richards and Pete Bevin maintain it now.  The same distribution
  103.     contains patches by Sven Pechler to make it run on VMS.  Larkin
  104.     Lowrey wrote the OS/2 version, and Lindsey Smith wrote the MS-DOS
  105.     version.  Email addresses are at the end.
  106.  
  107.  
  108. Q1.3: Help!  I don't understand how to use FSP!
  109.  
  110.     If you're already familiar with FTP, you might want to use one
  111.     of the FTP-like clients instead, or even a graphical interface.
  112.     See the answers to questions 2.1 and 2.2 below for details of
  113.     how to get them.
  114.  
  115.     The following tutorial is adapted from an article in
  116.     alt.comp.fsp by David DeSimone <fox@netcom.com>.
  117.  
  118.     The original FSP seems to have been designed for use with csh
  119.     aliases, so if you use csh, try these aliases in your .cshrc:
  120.  
  121.     # FSP aliases:
  122.     alias fcat   '(set noglob; exec fcatcmd \!*)'
  123.     alias fcd    'setenv FSP_DIR `(set noglob; exec fcdcmd \!*)`'
  124.     alias fget   '(set noglob; exec fgetcmd \!*)'
  125.     alias fgrab  '(set noglob; exec fgrabcmd \!*)'
  126.     alias fls    '(set noglob; exec flscmd -F \!*)'
  127.     alias fll    '(set noglob; exec flscmd -l \!*)'
  128.     alias fpro   '(set noglob; exec fprocmd \!*)'
  129.     alias fpwd   'echo "$FSP_HOST ($FSP_PORT): $FSP_DIR"'
  130.     alias frm    '(set noglob; exec frmcmd \!*)'
  131.     alias frmdir '(set noglob; exec frmdircmd \!*)'
  132.     alias fhost  'set fsp_host=(\!*); source ~/bin/fhost; unset fsp_host'
  133.  
  134.     The last alias, "fhost", is my own invention, and the ~/bin/fhost
  135.     file looks like this:
  136.  
  137.     #!/bin/csh
  138.     #
  139.     # Since this script sets environment variables, it really needs
  140.     # to be source'd rather than executed.  Thus the following alias
  141.     # should be used:
  142.     #
  143.     # alias fhost 'set fsp_host=(\!*); source ~/.bin/fhost; unset fsp_host'
  144.     #
  145.  
  146.     if ( $#fsp_host > 0 ) then
  147.  
  148.         setenv FSP_HOST $fsp_host[1]
  149.  
  150.         if ( $#fsp_host > 1 ) then
  151.         setenv FSP_PORT $fsp_host[2]
  152.         else
  153.         setenv FSP_PORT 21
  154.         endif
  155.  
  156.         if ( $#fsp_host > 2 ) then
  157.         setenv FSP_DIR $fsp_host[3]
  158.         else
  159.         setenv FSP_DIR /
  160.         endif
  161.  
  162.     endif
  163.  
  164.     if ( $?FSP_HOST ) then
  165.         echo "$FSP_HOST ($FSP_PORT): $FSP_DIR"
  166.     endif
  167.  
  168.     This alias lets you "connect" to a host quickly and easily.  For
  169.     instance, to start out I give the following command:
  170.  
  171.     % fhost wuarchive.wustl.edu
  172.     wuarchive.wustl.edu (21): /
  173.  
  174.     The "fhost" command tells me where I'm connected, on what port,
  175.     and in what directory.
  176.  
  177.     Since all "fhost" does is set up some environemnt variables, we
  178.     aren't REALLY connected.  To find out if the site is responding,
  179.     just do a quick "fls":
  180.  
  181.     % fls
  182.     README        etc/        mirrors2/    pub/
  183.     README.NFS    graphics/    mirrors3/    systems/
  184.     bin/        info/        mirrors4/    techreports/
  185.     decus/        languages/    multimedia/    usenet/
  186.     doc/        lost+found/    packages/    vendorware/
  187.     edu/        mirrors/    private/
  188.  
  189.     Looks like we're up and running!  Navigating with FSP is now
  190.     just like using the local filesystem, except the commands have
  191.     "f" in front of them.  For instance:
  192.  
  193.     % fcd /systems/amiga/incoming
  194.     directory mode: (owner: some other machine)(delete: NO)(create: NO)
  195.     % fls
  196.     AT3D-Demo.bad        devel/            utils/
  197.     AT3D-Demo.readme    fish/            wb30/
  198.     AT3D.lha        games/            z_newfiles_Jul01
  199.     Amiga.help        gfx/            z_newfiles_Jul02
  200.     DAKDUNGN.LZH        hardware/        z_newfiles_Jul03
  201.     DAKDUNGN.README     imagine/        z_newfiles_Jul04
  202.     DP_Desc_June.run    ls-lR.incoming        z_newfiles_Jun25
  203.         README.UPLOADER     ls-lR.incoming.Z    z_newfiles_Jun26
  204.         TREE            misc/            z_newfiles_Jun27
  205.         archive/        mods/            z_newfiles_Jun28
  206.     audio/            news/            z_newfiles_Jun29
  207.     cam_list.zoo        patch/            z_newfiles_Jun30
  208.     comm/            programming/
  209.     demos/            text/
  210.  
  211.     Other nice commands like "fcat filename" let me see what's out
  212.     there, or for larger files, "fcat filename | less" is very
  213.     effective.
  214.  
  215.     Once I see a nice file that I want copied to my local system, I
  216.     just give the "fget filename" command and away it goes.  Usually
  217.     I type "fget filename &" which throws the transfer request into
  218.     the background.  Then I can immediately go off and "fcd" to some
  219.     other directory and look for more files to grab, "fcat"-ing the
  220.     README files and such.
  221.  
  222.  
  223. Q1.4 What are those funny "R" and "I" characters?
  224.  
  225.     When FSP doesn't get any response from the server, it keeps on
  226.     sending requests.  The first time it retries, it prints an "R",
  227.     (meaning "Retry"), and the second, third, and subsequent times,
  228.     it prints an "I".  You might also see an "E", which means "error":
  229.     FSP got a packet, but it was corrupted for some reason.
  230.  
  231.     Fspclient does it slightly differently: it starts by printing
  232.     "r" and "R" characters, and then uses "-\|/" characters to draw
  233.     a spinning bar.  As Phil Richards (the author) says, `I quite
  234.     often see spinning bars, but usually only after the fifth pint'.
  235.  
  236.  
  237. Q1.5 Why should I, as a site admin, run an FSP daemon?
  238.  
  239.     Because it's one more way people can access your site, and it
  240.     won't cost you much extra load on the machine.  The FSP daemon
  241.     never forks, so it won't increase your load average by more than
  242.     one.  FSP doesn't add much to the network load either, and you
  243.     can limit the amount of data the daemon will send out (eg, to
  244.     2.5k/sec).
  245.  
  246.     FSP allows comprehensive logging, running off inetd, README
  247.     files per directory, banning on per-host or per-network basis,
  248.     reverse naming and read-only sites.  The only thing anonymous
  249.     FTP gives that FSP doesn't is having the user type in an email
  250.     address, and of course, this can easily be faked.  FSP logs give
  251.     the user's hostname, which is harder to fake.
  252.  
  253. -----------------------------------------------------------------------------
  254.  
  255.  
  256. Section 2: FSP software and resources
  257.  
  258. Q2.1 Where can I get an FTP-like interface for FSP?
  259.  
  260.     The interface I use is Phil Richards' (pgr@sst.icl.co.uk)
  261.     fspclient.  The latest version (still pre-alpha, but more
  262.     reliable than your average beta release) is fspclient.0.0-h.
  263.     You can get it by FTP from ftp.robots.ox.ac.uk as
  264.     /pub/ox.src/fspclient.0.0-h+.tar.Z .
  265.  
  266.     Another interface to use is Nicolai Langfeldt's 'fspcli'.  It
  267.     has a ftp like interface and more.  It is in the release
  268.     directory on ftp.germany, and it has also been posted on
  269.     alt.sources.  Another nice thing about it is that it's a
  270.     small(ish) perl script rather than a large compiled executable,
  271.     and it's not alpha OR beta.  Presently the latest version is 1.2
  272.  
  273.     Ove Ruben R Olsen (Ruben@uib.no) has written a client quite
  274.     similar to Nicolai's, but even smaller.  It is available in
  275.     the fspsh directory on taxus.uib.no/9000 (see below).
  276.  
  277.     Note that if you want to use either of the last two clients,
  278.     you'll have to have the Perl language installed.  You can get
  279.     the latest version by FTP from prep.ai.mit.edu in
  280.     /pub/gnu/perl*, or by FSP from wuarchive (see below) in
  281.     /mirrors/gnu/perl*.
  282.  
  283.  
  284. Q2.2 Where can I get a graphical interface for FSP?
  285.  
  286.     Andy Doherty <ssudoher@reading.ac.uk> has written an xview
  287.     client for the X Window System.  It is available from
  288.     ftp.germany as `fsptool-1.3.tar.Z'.  Like fspcli and fspshell,
  289.     it acts as an interface to the standard FSP shell commands,
  290.     rather than rewriting them itself.
  291.  
  292.     Note that to use this package, you will need the xview libraries:
  293.     if you're using a Sun workstation, you're OK: otherwise, you may
  294.     have to get and compile them yourself.
  295.  
  296.     If you're an OS/2 user, you can use the OS/2 client by Albert
  297.     Crosby <acrosby@uafhp.uark.edu>.  It wraps around the OS/2 FSP
  298.     software (see above), and also requires RexxMenu and RxU.  It
  299.     can read a list of files in the standard FSP host listing
  300.     format, and uses RexxMenu's point-and-click interface.
  301.  
  302.  
  303. Q2.3 Where can I get hold of a list of sites?
  304.  
  305.     There is a list, maintained by <archive-admin@Germany.EU.net>,
  306.     which you can get hold of by fsp from ftp.Germany.EU.net (port
  307.     2001):/pub/lists/fsp-servers.  Various other people produce
  308.     lists as well: have a look around!
  309.  
  310.     You are encouraged to post site information to alt.comp.fsp, and
  311.     if you post in the format below, most people will be able to
  312.     slurp your list straight into their front-end programs.  There's
  313.     an unofficial standard for the format, which you can find on taxus
  314.     in the file "fsplist.std".
  315.  
  316.     In the meantime, here's a list to get you going.
  317.  
  318.     128.52.46.11      21   alpha   / # GNU Alpha releases
  319.     158.125.220.8      21   genie   / # small UK site
  320.     192.76.144.75      2001 germany / # big German archive
  321.     fsp.luth.se      6969 luth    / # Top of Europe
  322.     131.215.131.148   21   mosaic  / # BSD386/Usenet
  323.     134.109.132.2      21   pyrrhus / # OS2, linux, simtel, etc.
  324.     146.169.2.1      21   src     / # big UK site
  325.     129.177.30.10      9000 taxus   / # fspadm, fsp-shell tools
  326.     131.155.140.128   21   terra   / # big Netherlands site
  327.     18.172.1.2      21   tsx     / # linux
  328.     fsp.warwick.ac.uk 21   warwick / # Computer Underground Digest
  329.     128.252.135.4      21   wu      / # everything you ever wanted
  330.  
  331.  
  332. Q2.4 Where can I get hold of hundreds of pictures of naked women in
  333.      compromising positions?
  334.  
  335.     Don't ask me, I only edit the FAQ :-)
  336.  
  337.     Seriously, FSP has a reputation of being for "crooks and
  338.     perverts".  If you know any good sites carrying illegal
  339.     material, then do them a favour and keep them to yourself.
  340.     Posting them won't make you any friends.
  341.  
  342.     If someone posts a list of sites, and you didn't want them to,
  343.     please don't publicly flame them.  It doesn't endear you to
  344.     anyone.  If you must put them right, send email.  Thank you.
  345.  
  346. ---------------------------------------------------------------------------
  347.  
  348.  
  349. Section 3: Technical Issues
  350.  
  351. Q3.1 What are the main differences between FSP and FTP?  How does FSP work?
  352.  
  353.     From the user's point of view, the differences are not that
  354.     great, except that some of the more annoying features of FTP
  355.     are gone.  Here are the main differences.
  356.  
  357.         a. The protocol can stand things going down: if the
  358.         server or the network falls over in the middle of a
  359.         transfer, you can just wait until it comes back up.
  360.         You don't have to reconnect, and even better, if the
  361.         server went down 90% through grabbing a file, you can
  362.         continue from where you left off.
  363.  
  364.         b. The protocol doesn't need a username or password.
  365.         You just throw packets at the server.  You don't have
  366.         to identify yourself (though you're not completely
  367.         anonymous -- see below).
  368.  
  369.         c. It's harder to kill off a site with an FSP server
  370.         than with an FTP server.  The FSP daemon is designed to
  371.         be as lightweight as possible:    it doesn't fork off any
  372.         sub-processes, and it takes steps to limit the amount
  373.         of traffic it handles.
  374.  
  375.         d. The user interface is completely different.    The
  376.         interface that comes with the package consists of
  377.         eleven commands that you can call from the shell.  In
  378.         effect, your shell is providing all the nice functions
  379.         like command line editing.  This makes the interface
  380.         much more versatile than FTP's.  (See below for how to
  381.         get an FTP-like interface, though).
  382.  
  383.         e. FSP is a bit slower than FTP.  This is a feature,
  384.         not a bug.  The point is to keep the communication
  385.         lightweight, and not to flood the net.
  386.  
  387.     From the programmer's point of view, fsp is a complete rewrite.
  388.  
  389.         a. Instead of TCP sockets, it uses datagrams to
  390.         communicate, so that the connection doesn't break on a
  391.         flaky line.
  392.  
  393.         b. FTP works by opening a port, and then asking the
  394.         server to send a file to it.  FSP uses the same port
  395.         all the time for communication, and asks for segments
  396.         of a file.  So you can start off a transfer half way
  397.         through a file, if you really want to.
  398.  
  399.         c. The server tries to make sure you don't ask for
  400.         packets too quickly.  Each packet it sends out has a
  401.         random identification number, which the client must
  402.         return on the next request.  (If the client loses the
  403.         number, it must wait a few seconds before the server
  404.         accepts another packet from it).  Therefore, the client
  405.         has to wait for an answer to each request before it
  406.         sends out the next one.
  407.  
  408.  
  409. Q3.2 How secure/anonymous is FSP?
  410.  
  411.     By default, the FSP daemon keeps logs of transactions, along
  412.     with their site names.    An FSP administrator could use this to
  413.     find out who you are, with a reasonable degree of certainty.
  414.  
  415.     In short, FSP gives you no more privacy than anonymous FTP.
  416.     Anyone who tells you different has a less devious mind than most
  417.     FSP admins I know.
  418.  
  419.     Why not make FSP more anonymous?  Well, it's impossible to make
  420.     a protocol with complete anonymity, since at some point, the
  421.     remote site will have to send a file back to you, and it needs
  422.     at least an address to send it to.
  423.  
  424.     If you really need privacy, you can encrypt any files you make
  425.     available, and only give out the decryption password to a select
  426.     few.  But of course, you have to trust them to keep the password
  427.     safe.
  428.  
  429.  
  430. Q3.3 Why not add passwords to FSP?
  431.  
  432.     (Thanks to Joseph Traub for the material for this section)
  433.  
  434.     1. They don't add much security.  If you use one password for
  435.        the whole site, then you might just as well set up the site
  436.        and only tell a few people its port number.    That's no more
  437.        or less secure than using a password.  Besides, it's easier
  438.        just to set up the server only to respond to certain hosts.
  439.  
  440.     2. Any other password system is likely to be a big lose on
  441.        efficiency, since you'll have to check every single packet.
  442.  
  443.     3. The main use of server passwords appears to be so that people
  444.        can move pirated software around, and the authors don't want
  445.        to add code to support that.
  446.  
  447.     To quote Joseph Traub, the ex-FSP maintainer:
  448.  
  449.         If you really want to do passworded file transfer, grab
  450.         a copy of the ftpd source code (which is also on my
  451.         server) and modify it to a) use a higher port number
  452.         (Yes virginia, you CAN specify port numbers to most ftp
  453.         clients) and b) to read a file other than /etc/password
  454.         to look up user information.
  455.  
  456.         This capability does NOT belong in FSP because it gets
  457.         away from the concept of lightweight simple file
  458.         transfers.
  459.  
  460.     And to quote Phil Richards, one of the current FSP maintainers:
  461.  
  462.         I agree.
  463.  
  464.     Just for added emphasis, the other FSP maintainer adds:
  465.  
  466.         Me too :-)
  467.  
  468.  
  469. Q3.4 So what *does* FSP stand for?
  470.  
  471.     As of 12th August 1993, FSP stands for `File Service Protocol'.
  472.     Thanks to mg@ac.duke.edu (Michael Grubb) for the words, and
  473.     Wen-King for the initials.
  474.  
  475.     Other suggestions were:
  476.  
  477.         File Slurping Protocol
  478.         Flaky Stream Protocol
  479.         FTP's Sexier Partner
  480.  
  481.  
  482. ---------------------------------------------------------------------------
  483.  
  484.  
  485. Section 4: Who's Who?
  486.  
  487. Q4.1: Who writes and maintains FSP software?
  488.  
  489.     Wen-King Su (wen-king@cs.caltech.edu) wrote the original Unix
  490.     version (versions 1.0 to 2.6.4).
  491.  
  492.     Joseph Traub (was jtraub@cs.cmu.edu) was maintainer from Dec
  493.     1992 to July 1993 (versions 2.6.5 to 2.7.1).
  494.  
  495.     The current maintainers are Phil Richards (pgr@sst.icl.co.uk)
  496.     and Pete Bevin (pete@sst.icl.co.uk).  Phil is also the maintainer
  497.     of fspclient, an FTP-like interface for FSP.
  498.  
  499.     Sven Pechler (S.A.Pechler@bdk.tue.nl) wrote and maintains a VMS
  500.     version.  OS/2 is handled by Larkin Lowrey (llowrey@ucsd.edu),
  501.     and Lindsey Smith, of the MS-DOS rewrite is SMITH@fgs200.fgs.com.
  502.  
  503.  
  504. Q4.2 Who helped put this FAQ together?
  505.  
  506.  
  507.     The following people have contributed to the FAQ.  Thanks very
  508.     much to all of them.
  509.  
  510.         Pete Bevin <pete@sst.icl.co.uk>
  511.         Tony Brannigan <tbrann@ox.ac.uk>
  512.         Maurizio Codogno <mau@beatles.cselt.stet.it>
  513.         David DeSimone <fox@netcom.com>
  514.         Ian Dickinson <vato@violet.csv.warwick.ac.uk>
  515.         Andy Doherty <ssudoher@reading.ac.uk>
  516.         Jan Nicolai Langfeldt <janl@ifi.uio.no>
  517.         Ove Ruben R Olsen <Ruben@uib.no>
  518.         Lutz Prechelt <prechelt@ira.uka.de>
  519.         Phil Richards <pgr@sst.icl.co.uk>
  520.         Lindsey Smith <SMITH@fgs200.fgs.com>
  521.         Wen-King Su <wen-king@cs.caltech.edu>
  522.         Joseph Traub <jtraub@cs.cmu.edu>
  523.  
  524.